package com.woniuxy.common.entity;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class CenterLogExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public CenterLogExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andCenterLogidIsNull() {
            addCriterion("center_logid is null");
            return (Criteria) this;
        }

        public Criteria andCenterLogidIsNotNull() {
            addCriterion("center_logid is not null");
            return (Criteria) this;
        }

        public Criteria andCenterLogidEqualTo(String value) {
            addCriterion("center_logid =", value, "centerLogid");
            return (Criteria) this;
        }

        public Criteria andCenterLogidNotEqualTo(String value) {
            addCriterion("center_logid <>", value, "centerLogid");
            return (Criteria) this;
        }

        public Criteria andCenterLogidGreaterThan(String value) {
            addCriterion("center_logid >", value, "centerLogid");
            return (Criteria) this;
        }

        public Criteria andCenterLogidGreaterThanOrEqualTo(String value) {
            addCriterion("center_logid >=", value, "centerLogid");
            return (Criteria) this;
        }

        public Criteria andCenterLogidLessThan(String value) {
            addCriterion("center_logid <", value, "centerLogid");
            return (Criteria) this;
        }

        public Criteria andCenterLogidLessThanOrEqualTo(String value) {
            addCriterion("center_logid <=", value, "centerLogid");
            return (Criteria) this;
        }

        public Criteria andCenterLogidLike(String value) {
            addCriterion("center_logid like", value, "centerLogid");
            return (Criteria) this;
        }

        public Criteria andCenterLogidNotLike(String value) {
            addCriterion("center_logid not like", value, "centerLogid");
            return (Criteria) this;
        }

        public Criteria andCenterLogidIn(List<String> values) {
            addCriterion("center_logid in", values, "centerLogid");
            return (Criteria) this;
        }

        public Criteria andCenterLogidNotIn(List<String> values) {
            addCriterion("center_logid not in", values, "centerLogid");
            return (Criteria) this;
        }

        public Criteria andCenterLogidBetween(String value1, String value2) {
            addCriterion("center_logid between", value1, value2, "centerLogid");
            return (Criteria) this;
        }

        public Criteria andCenterLogidNotBetween(String value1, String value2) {
            addCriterion("center_logid not between", value1, value2, "centerLogid");
            return (Criteria) this;
        }

        public Criteria andCenterUsernameIsNull() {
            addCriterion("center_username is null");
            return (Criteria) this;
        }

        public Criteria andCenterUsernameIsNotNull() {
            addCriterion("center_username is not null");
            return (Criteria) this;
        }

        public Criteria andCenterUsernameEqualTo(String value) {
            addCriterion("center_username =", value, "centerUsername");
            return (Criteria) this;
        }

        public Criteria andCenterUsernameNotEqualTo(String value) {
            addCriterion("center_username <>", value, "centerUsername");
            return (Criteria) this;
        }

        public Criteria andCenterUsernameGreaterThan(String value) {
            addCriterion("center_username >", value, "centerUsername");
            return (Criteria) this;
        }

        public Criteria andCenterUsernameGreaterThanOrEqualTo(String value) {
            addCriterion("center_username >=", value, "centerUsername");
            return (Criteria) this;
        }

        public Criteria andCenterUsernameLessThan(String value) {
            addCriterion("center_username <", value, "centerUsername");
            return (Criteria) this;
        }

        public Criteria andCenterUsernameLessThanOrEqualTo(String value) {
            addCriterion("center_username <=", value, "centerUsername");
            return (Criteria) this;
        }

        public Criteria andCenterUsernameLike(String value) {
            addCriterion("center_username like", value, "centerUsername");
            return (Criteria) this;
        }

        public Criteria andCenterUsernameNotLike(String value) {
            addCriterion("center_username not like", value, "centerUsername");
            return (Criteria) this;
        }

        public Criteria andCenterUsernameIn(List<String> values) {
            addCriterion("center_username in", values, "centerUsername");
            return (Criteria) this;
        }

        public Criteria andCenterUsernameNotIn(List<String> values) {
            addCriterion("center_username not in", values, "centerUsername");
            return (Criteria) this;
        }

        public Criteria andCenterUsernameBetween(String value1, String value2) {
            addCriterion("center_username between", value1, value2, "centerUsername");
            return (Criteria) this;
        }

        public Criteria andCenterUsernameNotBetween(String value1, String value2) {
            addCriterion("center_username not between", value1, value2, "centerUsername");
            return (Criteria) this;
        }

        public Criteria andCenterOperationIsNull() {
            addCriterion("center_operation is null");
            return (Criteria) this;
        }

        public Criteria andCenterOperationIsNotNull() {
            addCriterion("center_operation is not null");
            return (Criteria) this;
        }

        public Criteria andCenterOperationEqualTo(String value) {
            addCriterion("center_operation =", value, "centerOperation");
            return (Criteria) this;
        }

        public Criteria andCenterOperationNotEqualTo(String value) {
            addCriterion("center_operation <>", value, "centerOperation");
            return (Criteria) this;
        }

        public Criteria andCenterOperationGreaterThan(String value) {
            addCriterion("center_operation >", value, "centerOperation");
            return (Criteria) this;
        }

        public Criteria andCenterOperationGreaterThanOrEqualTo(String value) {
            addCriterion("center_operation >=", value, "centerOperation");
            return (Criteria) this;
        }

        public Criteria andCenterOperationLessThan(String value) {
            addCriterion("center_operation <", value, "centerOperation");
            return (Criteria) this;
        }

        public Criteria andCenterOperationLessThanOrEqualTo(String value) {
            addCriterion("center_operation <=", value, "centerOperation");
            return (Criteria) this;
        }

        public Criteria andCenterOperationLike(String value) {
            addCriterion("center_operation like", value, "centerOperation");
            return (Criteria) this;
        }

        public Criteria andCenterOperationNotLike(String value) {
            addCriterion("center_operation not like", value, "centerOperation");
            return (Criteria) this;
        }

        public Criteria andCenterOperationIn(List<String> values) {
            addCriterion("center_operation in", values, "centerOperation");
            return (Criteria) this;
        }

        public Criteria andCenterOperationNotIn(List<String> values) {
            addCriterion("center_operation not in", values, "centerOperation");
            return (Criteria) this;
        }

        public Criteria andCenterOperationBetween(String value1, String value2) {
            addCriterion("center_operation between", value1, value2, "centerOperation");
            return (Criteria) this;
        }

        public Criteria andCenterOperationNotBetween(String value1, String value2) {
            addCriterion("center_operation not between", value1, value2, "centerOperation");
            return (Criteria) this;
        }

        public Criteria andCenterMethodIsNull() {
            addCriterion("center_method is null");
            return (Criteria) this;
        }

        public Criteria andCenterMethodIsNotNull() {
            addCriterion("center_method is not null");
            return (Criteria) this;
        }

        public Criteria andCenterMethodEqualTo(String value) {
            addCriterion("center_method =", value, "centerMethod");
            return (Criteria) this;
        }

        public Criteria andCenterMethodNotEqualTo(String value) {
            addCriterion("center_method <>", value, "centerMethod");
            return (Criteria) this;
        }

        public Criteria andCenterMethodGreaterThan(String value) {
            addCriterion("center_method >", value, "centerMethod");
            return (Criteria) this;
        }

        public Criteria andCenterMethodGreaterThanOrEqualTo(String value) {
            addCriterion("center_method >=", value, "centerMethod");
            return (Criteria) this;
        }

        public Criteria andCenterMethodLessThan(String value) {
            addCriterion("center_method <", value, "centerMethod");
            return (Criteria) this;
        }

        public Criteria andCenterMethodLessThanOrEqualTo(String value) {
            addCriterion("center_method <=", value, "centerMethod");
            return (Criteria) this;
        }

        public Criteria andCenterMethodLike(String value) {
            addCriterion("center_method like", value, "centerMethod");
            return (Criteria) this;
        }

        public Criteria andCenterMethodNotLike(String value) {
            addCriterion("center_method not like", value, "centerMethod");
            return (Criteria) this;
        }

        public Criteria andCenterMethodIn(List<String> values) {
            addCriterion("center_method in", values, "centerMethod");
            return (Criteria) this;
        }

        public Criteria andCenterMethodNotIn(List<String> values) {
            addCriterion("center_method not in", values, "centerMethod");
            return (Criteria) this;
        }

        public Criteria andCenterMethodBetween(String value1, String value2) {
            addCriterion("center_method between", value1, value2, "centerMethod");
            return (Criteria) this;
        }

        public Criteria andCenterMethodNotBetween(String value1, String value2) {
            addCriterion("center_method not between", value1, value2, "centerMethod");
            return (Criteria) this;
        }

        public Criteria andCenterParamsIsNull() {
            addCriterion("center_params is null");
            return (Criteria) this;
        }

        public Criteria andCenterParamsIsNotNull() {
            addCriterion("center_params is not null");
            return (Criteria) this;
        }

        public Criteria andCenterParamsEqualTo(String value) {
            addCriterion("center_params =", value, "centerParams");
            return (Criteria) this;
        }

        public Criteria andCenterParamsNotEqualTo(String value) {
            addCriterion("center_params <>", value, "centerParams");
            return (Criteria) this;
        }

        public Criteria andCenterParamsGreaterThan(String value) {
            addCriterion("center_params >", value, "centerParams");
            return (Criteria) this;
        }

        public Criteria andCenterParamsGreaterThanOrEqualTo(String value) {
            addCriterion("center_params >=", value, "centerParams");
            return (Criteria) this;
        }

        public Criteria andCenterParamsLessThan(String value) {
            addCriterion("center_params <", value, "centerParams");
            return (Criteria) this;
        }

        public Criteria andCenterParamsLessThanOrEqualTo(String value) {
            addCriterion("center_params <=", value, "centerParams");
            return (Criteria) this;
        }

        public Criteria andCenterParamsLike(String value) {
            addCriterion("center_params like", value, "centerParams");
            return (Criteria) this;
        }

        public Criteria andCenterParamsNotLike(String value) {
            addCriterion("center_params not like", value, "centerParams");
            return (Criteria) this;
        }

        public Criteria andCenterParamsIn(List<String> values) {
            addCriterion("center_params in", values, "centerParams");
            return (Criteria) this;
        }

        public Criteria andCenterParamsNotIn(List<String> values) {
            addCriterion("center_params not in", values, "centerParams");
            return (Criteria) this;
        }

        public Criteria andCenterParamsBetween(String value1, String value2) {
            addCriterion("center_params between", value1, value2, "centerParams");
            return (Criteria) this;
        }

        public Criteria andCenterParamsNotBetween(String value1, String value2) {
            addCriterion("center_params not between", value1, value2, "centerParams");
            return (Criteria) this;
        }

        public Criteria andCenterIpIsNull() {
            addCriterion("center_ip is null");
            return (Criteria) this;
        }

        public Criteria andCenterIpIsNotNull() {
            addCriterion("center_ip is not null");
            return (Criteria) this;
        }

        public Criteria andCenterIpEqualTo(String value) {
            addCriterion("center_ip =", value, "centerIp");
            return (Criteria) this;
        }

        public Criteria andCenterIpNotEqualTo(String value) {
            addCriterion("center_ip <>", value, "centerIp");
            return (Criteria) this;
        }

        public Criteria andCenterIpGreaterThan(String value) {
            addCriterion("center_ip >", value, "centerIp");
            return (Criteria) this;
        }

        public Criteria andCenterIpGreaterThanOrEqualTo(String value) {
            addCriterion("center_ip >=", value, "centerIp");
            return (Criteria) this;
        }

        public Criteria andCenterIpLessThan(String value) {
            addCriterion("center_ip <", value, "centerIp");
            return (Criteria) this;
        }

        public Criteria andCenterIpLessThanOrEqualTo(String value) {
            addCriterion("center_ip <=", value, "centerIp");
            return (Criteria) this;
        }

        public Criteria andCenterIpLike(String value) {
            addCriterion("center_ip like", value, "centerIp");
            return (Criteria) this;
        }

        public Criteria andCenterIpNotLike(String value) {
            addCriterion("center_ip not like", value, "centerIp");
            return (Criteria) this;
        }

        public Criteria andCenterIpIn(List<String> values) {
            addCriterion("center_ip in", values, "centerIp");
            return (Criteria) this;
        }

        public Criteria andCenterIpNotIn(List<String> values) {
            addCriterion("center_ip not in", values, "centerIp");
            return (Criteria) this;
        }

        public Criteria andCenterIpBetween(String value1, String value2) {
            addCriterion("center_ip between", value1, value2, "centerIp");
            return (Criteria) this;
        }

        public Criteria andCenterIpNotBetween(String value1, String value2) {
            addCriterion("center_ip not between", value1, value2, "centerIp");
            return (Criteria) this;
        }

        public Criteria andCenterCreatetimeIsNull() {
            addCriterion("center_createtime is null");
            return (Criteria) this;
        }

        public Criteria andCenterCreatetimeIsNotNull() {
            addCriterion("center_createtime is not null");
            return (Criteria) this;
        }

        public Criteria andCenterCreatetimeEqualTo(Date value) {
            addCriterion("center_createtime =", value, "centerCreatetime");
            return (Criteria) this;
        }

        public Criteria andCenterCreatetimeNotEqualTo(Date value) {
            addCriterion("center_createtime <>", value, "centerCreatetime");
            return (Criteria) this;
        }

        public Criteria andCenterCreatetimeGreaterThan(Date value) {
            addCriterion("center_createtime >", value, "centerCreatetime");
            return (Criteria) this;
        }

        public Criteria andCenterCreatetimeGreaterThanOrEqualTo(Date value) {
            addCriterion("center_createtime >=", value, "centerCreatetime");
            return (Criteria) this;
        }

        public Criteria andCenterCreatetimeLessThan(Date value) {
            addCriterion("center_createtime <", value, "centerCreatetime");
            return (Criteria) this;
        }

        public Criteria andCenterCreatetimeLessThanOrEqualTo(Date value) {
            addCriterion("center_createtime <=", value, "centerCreatetime");
            return (Criteria) this;
        }

        public Criteria andCenterCreatetimeIn(List<Date> values) {
            addCriterion("center_createtime in", values, "centerCreatetime");
            return (Criteria) this;
        }

        public Criteria andCenterCreatetimeNotIn(List<Date> values) {
            addCriterion("center_createtime not in", values, "centerCreatetime");
            return (Criteria) this;
        }

        public Criteria andCenterCreatetimeBetween(Date value1, Date value2) {
            addCriterion("center_createtime between", value1, value2, "centerCreatetime");
            return (Criteria) this;
        }

        public Criteria andCenterCreatetimeNotBetween(Date value1, Date value2) {
            addCriterion("center_createtime not between", value1, value2, "centerCreatetime");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}